connection(1.0, 1, 2, resistance).
connection(1.0, 2, 3, capacitor).
connection(1.0, 3, 4, inductance).